package com.taxinfo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.taxinfo.pojo.dto.IncomeStmInfoDto;
import com.taxinfo.pojo.vo.IncomeStmInfo;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wanghy
 * @since 2025-01-20
 */
@Transactional
public interface IncomeStmInfoService  extends IService<IncomeStmInfo> {
    /**
     * 查询所有数据
     * @return
     */
    List<IncomeStmInfoDto> selectAllData(String id);

    List<IncomeStmInfoDto> selectDataByParentId(String id);


    List<IncomeStmInfoDto> selectLastDataInfo(String key);
}
